package com.april.pattern.creational.factory.abstractfactory;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/06/22 20:37
 * @description Java课程的构建工厂
 */
public class JavaCourseFactory implements CourseFactory {
    @Override
    public AbstractVideo getVideo() {
        return new JavaVideo();
    }

    @Override
    public AbstractArticle getArticle() {
        return new JavaArticle();
    }
}
